package com.iflytek.day14;

final class fu {

}
// class Zi extends  fu {} // Cannot inherit from final 'com.iflytek.day14.fu'

class Fu2 {
  final public void show1() {
    System.out.println("Fu2 show1");
  }

  public void show2() {
    System.out.println("Fu2 show2");
  }
}

class Zi2 extends Fu2 {

  // @Override
  // public void show1() { //  overridden method is final
  //   System.out.println("Zi2 show2");
  // }

  @Override
  public void show2() {
    System.out.println("Zi2 show2");
  }
}